package cn.iocoder.yudao.module.promotion.controller.admin.quickcombinationactivity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;

import com.alibaba.excel.annotation.ExcelProperty;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;


/**
 * 进货活动 Excel VO
 *
 * @author 曹建伟
 */
@Data
public class QuickCombinationActivityExcelVO {

    @ExcelProperty("快速团购活动编号")
    private Long id;

    @ExcelProperty("快速团购名称")
    private String name;

    @ExcelProperty("活动开始时间")
    private LocalDateTime startTime;

    @ExcelProperty("活动结束时间")
    private LocalDateTime endTime;

    @ExcelProperty(value = "活动状态", converter = DictConvert.class)
    @DictFormat("common_status") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Integer status;

    @ExcelProperty("商品 SPU 编号")
    private Long spuId;

    @ExcelProperty("商品 SKU 编号")
    private Long skuId;

    @ExcelProperty("总库存")
    private Integer totalStock;

    @ExcelProperty("起团档位20;40;60;80")
    private String nums;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
